From c2104a2b33d1c5eb8eb3a651cfa4ecedd8eded82 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 26 Sep 2005 13:14:39 +0000 Subject: [PATCH] Don't squawk about A100[02345]'s for Forerunner. (This code really should be taken behind the barn and shot...) --- jeeps/gpsapp.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jeeps/gpsapp.c b/jeeps/gpsapp.c index d0504ec11..2c1c6b0d7 100644 --- a/jeeps/gpsapp.c +++ b/jeeps/gpsapp.c @@ -430,6 +430,13 @@ static void GPS_A001(GPS_PPacket packet) */ continue; } + else if (data < 1100) + { + /* Stupid Garmin undocumented "A100[2345]" packets + * as returned by Forerunner 301. + */ + continue; + } else { GPS_Protocol_Error(tag,data); -- 2.30.2